using .on
renamed and added randoms
removed debug background