pattern edited