add y/n in parser and type of action