added event tracking to tables