Is this going to be used in more places?  If so we should find some way to DRY it out a bit (static utility function?)