add comments for event handler