for use with arrow keys