changes made to optimize
changes to the events page