Dta and simp work with patterns