added auto reindentation of the output