added basic marker functionality