adding patch along with tag