Correct the spec for formated output
Implement formated output