working for distance meters and km