Additional functions

I needed some additional functions for my testing.  Here they are in case they're useful.