added simulation class