Added breaking for the current code checking iteration