added marker functionality