re-configured simulation class