add some useful helper