directions implemented