restricted to use arrow keys