got direction class from master