direction property example