all references to getInstances now have correct references to cloud.