Warnings gone
Simulation works