removed spacePressed