Litle modification for patch method