scaffold for event table
bug fix for line 19 to events