updated trough patterning #327