removed the isRajatBuild check and go back to using the direction field and the directionToTrand mapping; some reformatting