Tried putting the input listeners