added cloud datastructure functions