should be faster while formatting output