spiral classifier loop