     #reset the marking surface and load classifcation
     @markingSurface.reset()
     @classification = new Classification {subject}
-    frameImages = new Array
     framesCount =  subject.location.standard.length
-    console.log "Frame Count" + framesCount
     for i in [0..framesCount-1] by 1
       # # add image element to the marking surface
       frame_id = "frame-id-#{i}"


    @markingSurface.svgRoot.attr 'id', 'classifier-svg-root'

    # @subjectImages @markingSurface.addShape 'image',
    #   width: '100%'
    #   height: '100%'
    #   preserveAspectRatio: 'none'

    @subjectContainer.append @markingSurface.el

    User.on 'change', @onUserChange

        width: '100%'
        height: '100%'
        preserveAspectRatio: 'none'
     
      img_src = subject.location.standard[i]
      #load the image for this frame
      do (img_src, frameImage)  => 
        loadImage img_src, (img) =>
        frameImage.attr
         'xlink:href': img_src


    @stopLoading()
