need to pass in the key to with connection