Added average calc