add method which returns direction
Merge remote-tracking branch 'origin/master'