before averaging