     @props.classification.update 'annotations'
 
   addAnnotationForTask: (taskKey) ->
-    console.log '*** ADD ANNOTATION FOR TASK ***'
-    console.log 'taskKey: ', taskKey
     taskDescription = @props.workflow.tasks[taskKey]
-    console.log 'taskDescription: ', taskDescription
     annotation = tasks[taskDescription.tool].getDefaultAnnotation() # sets {value: null}
     annotation.task = taskKey # e.g. {task: "cool"}
-    console.log 'ANNOTATION: ', annotation 
-    console.log 'TASK DESCRIPTION: ', taskDescription
     @props.classification.annotations.push annotation
     @props.classification.update 'annotations'
-    console.log 'CLASSIFICATION: ', @props.classification
 
   completeClassification: ->
     @props.classification.update

  getInitialState: ->
    subjects:       null
    currentSubject: null
    # classification: null # move to props
    workflow:       @props.workflow
    currentTask:    @props.workflow.tasks[@props.workflow.first_task]

    # # @state.classification.annotations ?= []
    # if @state.classification.annotations.length is 0
    #   console.log 'making first annotation'
    #   @makeAnnotation @state.workflow.first_task

  getDefaultProps: ->
    classification: resource.type('classifications').create

      metadata: {}

  componentWillMount: ->
    @addAnnotationForTask @props.workflow.first_task

  render: ->
    return null unless @state.currentSubject? and @state.currentTask?
    TaskComponent = tasks[@state.currentTask.tool]
    onFirstAnnotation = @props.classification.annotations.length is 0

    annotations = @props.classification.annotations
    currentAnnotation = if annotations.length is 0 then {} else annotations[annotations.length-1]

    waitingForAnswer = false # for now 

