implemented delegate for connection execution