Function Definitions calling and storing real values along with averages