the function should return the same output as the function on the osm website. this should be tested with some samples