brought in the pattern generator