Added sideMarker function