removed keypress requirement