added 3D simulations