pass the connection to the operations