adding code from the cloud