adding patch