mass computation working