revised based on occurence