Temple Events code added