Added events and main index