release of calc rate avg function