better calculations of number of participants