added marker adding function