add parse event and listener for parser