parser and generator with new parameter