added output for moving right