added diagram of patch