 
   removePriorAsteroids: ->
     priorAsteroid.remove() for priorAsteroid in [@el.find('.prior-asteroid')...]
-      
+  
+  # REQUIRES: 
+  # 1) markingSurfaceList
+  # 2) setOfSightings    
   showExistingAsteroids: ->
-    return if @TRAINING_SUBJECT is null
+    return if @trainingSubjects is null
     xs = []
     ys = []
     P = null
     x_sum = null
     y_sum = null
-    for priorAsteroid, i in [@TRAINING_SUBJECT.metadata.asteroids...]
+    for priorAsteroid, i in [@trainingSubjects.metadata.asteroids...]
       xs[i] = priorAsteroid.x
       ys[i] = priorAsteroid.y
       x_sum += xs[i]

class Classifier extends BaseController
  className: 'classifier'
  template: require '../views/classifier'

  TRAINING_SUBJECT = null

  events:
    'click button[name="play-frames"]'      : 'onClickPlay'

  constructor: ->
    super

    # replace with real subjects + prior asteroid meta data
    @trainingSubjects = @loadTrainingSubjects()

    @asteroidMarkedInFrame = [ null, null, null, null ]
    @playTimeouts = []
