refactor helper to external file