Exported helper to its own file