get average (ramdom)