add inital class for distance calculation