Processing patches