those are aux functions, right? let's put them to a nameless namespace