Preparing for patch