refactoring kodu