setting conditional in case events[results] is nil