rename direction to style