adding required patches