add if-statement in order to care about carry-out