Add reputation calculation