generate occurrences