Exercise of pattern builder