Implemented simulation.
Added parameter, but disabled it for now.