Allow for on-the-fly pattern changing