calculation of reputation done