method for finding reasons of events