use CAS in the cloud