extract some utilities
extract a little bitty assert macro