Refactoring (method for all events obtaining)