changed to onKeyUp