randomize this pattern architecture