add new pattern