add mode for assigned masses