added element and collection subgenerators
added element and collection subgenerators