allow user to specify the direction of the arrow