created a void key pressed to make it easier