breaking things out into a util namespace