Maybe drop this in the /helpers folder with an appropriate filename.