arrow key support added