changed views queries from show_events to visible_events