Modifies lib file in array_hash. Changes method name. Uses 'for in' in a better way.