Refactor repeat code to wrapped within Helper class