completed for predef's and predefclouds