refactor: move helpers to utils.ts file