Implemented both types of clouds