I'll put it in a utils method.