add a macevent table,to hold mac events