Marker generation function works with fake data