added wrappers for connections