added the get-direction field
added get direction mode