First attempt at getting connections to work