alternate connect() adopted. removing superfluous simulator.py functions