adding methods for left and right to directions