changed to connect to localhost