allowing patch method