ah times i wondered what all those int() were for!