implement mode on msassignedmass