changed PSO slightly