minor fixes; 1st try: variable # particles