changes for refactoring marker creation