moving markerset operations to module