added a new way to patch