remove debugging. more code into the input events module