MarkerGen function now loops