added pritty printing as first example but comments are still ignored which is right for all but pritty printing