carry ensures conditions through loop iterations