added marker code