ADDED input.close and removed numberinput