refactor markers placement