just moved these out of the utils.js, it doesn't feel like they belong there, no?