Implemented Marker assignment.