addition of simulation package
merger with Cesar changes