Added the unique use of flags in the parser