added changes and doc to output feature #71