added direct distance