Carry flag added but not tested