add directional functionality