added show and index for events