Started converting randomizer to a better pattern.