additional code added to calcalute mean values