Marker functionality working