removed autoconnection from constructor