Added comments and modified output to match that of dc.