old stuff, swarm & algogen optimization