adds mass object class