Patch 1 - Added a Format function

Haven't tested, added a testing boolean, false by default. will remove after testing.