     @container.addSubView @loader
 
 
-  createProgressBar: ->
-
-    @progressBar = new KDProgressBarView
-      initial    : 10
+  createProgressBar: (initial = 10)->
+
+    @progressBar = new KDProgressBarView { initial }
 
     @container.addSubView @progressBar
 

    computeController.on "start-#{@machineId}", @bound 'updateStatus'
    computeController.on "build-#{@machineId}", @bound 'updateStatus'
    computeController.on "stop-#{@machineId}",  @bound 'updateStatus'
    computeController.on "reinit-#{@machineId}",@bound 'updateStatus'
    computeController.on "error-#{@machineId}", =>
      @hasError = yes
      @updateStatus status: Unknown


    computeController.followUpcomingEvents @machine

  updateStatus: (event, task) ->

    {status, percentage, error} = event

