Added some cloud code