Updated code to use arrow keys and no longer use the shift modifier