removed the connect() method