I see you incorporated some of my suggestion as to how to refactor this, but as it is now the `connection_params` variable isn't used.