minor changes including classNames occurrences attribute