Implemented processing of occurences.