improve loop exit condition