a hodgepodge of dumb utility functions, that i usually end up rewriting in new projects