added directional feature