add MassBalance functions