adding a new pattern