more changes related to avg value