add a new parameter tblname to Event struct