adding the events view