get direction public