implement masspm