arrow keys preparation