Should this be added to our helpers.py instead?