adding refactoring problems
converting hash to object using module extension