pure refactoring (extracted two helper methods for constructing the noise pattern parts)