adding keypress events
adding reload