refactoring for hewa methods