You can merge the if(0) and if(1) cases into one case to remove copypasta if(0,1)