Tidied up Occurrence based on feedback from rubocop