added func deg2km