Added more direction, lat long dist code