Basic version of average