offloading helper to utils