add method to calculate distance from 0