view events button works