fixup a bunch of the utils, add examples for all of them