Added a connection as a return value