added a couple of nice functions to formats