added click event and listener for match object