distances calculated need to check for abs and test units