added Event call in parser