additon of various aux functions

most of these are undocumented for now, there is also some hard-coded stuff that will need
more work