New approach to building patches