added string output for Format() function