adding back marker functionality