added calculate class