with connection context