created average calculator