add table exam and listener