map improved and distance added