     allSubmissionsLoaded: $.Deferred()
 
     constructor: (@options) ->
-      @chunk_start = 0
       @students = {}
       @studentViewStudents = {}
       @rows = []

        student.loaded = true
        @grid.invalidateRow(student.row)
        @calculateStudentGrade(student)
      @grid.render()

    student: (id) =>

      @sortRowsBy (a, b) => @localeSort(a.sortable_name, b.sortable_name)

    getSubmissionsChunks: =>
      @submissionChunkCount = 0

      @withAllStudents (allStudentsObj) =>
        allStudents = (s for k, s of allStudentsObj)
          .sort (a, b) => @localeSort(a.sortable_name, b.sortable_name)
        loop
          chunkStart = @submissionChunkCount * @options.chunk_size
          students = allStudents[chunkStart...(chunkStart+@options.chunk_size)]
          break if students.length == 0
          params =
            student_ids: (student.id for student in students)
            response_fields: ['id', 'user_id', 'url', 'score', 'grade', 'submission_type', 'submitted_at', 'assignment_id', 'grade_matches_current_submission', 'attachments', 'late', 'workflow_state', 'excused']
          params['grading_period_id'] = @gradingPeriodToShow if @mgpEnabled && @gradingPeriodToShow && @gradingPeriodToShow != '0' && @gradingPeriodToShow != ''
          $.ajaxJSON(@options.submissions_url, "GET", params, @gotSubmissionsChunk)
          @submissionChunkCount++

    gotSubmissionsChunk: (student_submissions) =>
      @gotSubmissionChunkCount ||= 0
      @gotSubmissionChunkCount++

      for data in student_submissions
        student = @student(data.user_id)
        for submission in data.submissions
