most of the loop is finished