replace a with b