make it possible to set the direction of the arrow