added weight to rate while calculating average rate'