getting all the recurrences