more changes for reputation code