simplify marker generation