       @wfits.setImage(band)
       @wfits.setStretch(@stretch)
   
-  updateAlpha: (value) =>
-    @wfits.setAlpha(value)
-    
-  updateQ: (value) =>
-    @wfits.setQ(value)
-    
-  updateScale: (band, value) =>
+  updateAlpha: =>
+    @wfits.setAlpha(@opts.alpha)
+    
+  updateQ: =>
+    @wfits.setQ(@opts.q)
+    
+  updateScale: =>
+    band = @opts.scale.band
+    value = @opts.scale.value
+
     scales = @collection.getColorScales()
     index = if band is 'i' then 0 else if band is 'g' then 1 else 2
     scales[index] = value
     @wfits.setScales.apply(@wfits, scales)
   
-  updateStretch: (value) =>
-    @stretch = value
-    @wfits.setStretch(value)
+  updateStretch: =>
+    @stretch = @opts.stretch
+    @wfits.setStretch(@stretch)
 
   getExtent: (value) ->
     return (@max - @min) * value / 1000
 
-  updateExtent: (min, max) =>
-    min = @getExtent(min)
-    max = @getExtent(max)
+  updateExtent: =>
+    min = @opts.extent.min
+    max = @opts.extent.max
     @wfits.setExtent(min, max)
 
 

  events:
    'next' : 'nextPage getNextSubject'
    'prev' : 'prevPage getNextSubject'
  
  
  constructor: (selector) ->
    _.extend @, Ubret.Sequential

  start: =>
    console.log 'start'

  setBand: =>
    band = @opts.band
    if band is 'gri'
      @wfits.drawColor('i', 'r', 'g')
    else
