the first loop is done 5495904