connections refactoring and a new code example