fixes 24

"connection" was already the name of an argument to the open function, so renamed the connection function