Fix FindAll and use it in simulation.cpp