Changed back to connect instead of createConnections