should be numberOfModels instead of numberOfParticles