code used in cloud research Fall 2014