added basic cloud capability to code