direction class added