made changes

why did u move this? it will make a header for each event now
you need to insert a if statement, if no events, print no events, else do this table thing