refactor: helper to utils