MOD: replace subCont by environment.