fixing stuff
pre replace existing connection
Got rid of client.connection