add expects to connection