added legacy_cloud_adapter