adding freeze to enumerable object