formatting in parser