adding pattern lab