         startRadiusSlider.value          = 0.0;
         
         // select the first element
-        self.selectIndexPath(tableView, row: 0)
-        self.selectIndexPath(tableViewColorsAndLocations, row: 0)
+        selectIndexPath(tableView, row: 0)
+        selectIndexPath(tableViewColorsAndLocations, row: 0)
         
         
         // update the gradient layer frame
-        self.gradientShadLayer.frame = self.viewForShadingGradientLayer.bounds
+        self.gradientLayer.frame = self.viewForShadingGradientLayer.bounds
         
         // text layers
-        self.textLayerShading.frame = self.viewForShadingGradientLayer.bounds
+        self.textLayer.frame = self.viewForShadingGradientLayer.bounds
         
         #if DEBUG_UI
             viewForShadingGradientLayer.layer.borderWidth = 1.0

                                                   percentInflection: CGFloat(drand48()))
            
            
            gradientShadLayer.path  = pathShading.cgPath

            
        } else {
            gradientShadLayer.path  = nil
            
            strokeSwitch.isOn         = false;
        }

            
            CATransaction.begin()
            CATransaction.setDisableActions(true)
        
            gradientLayer.startPoint  = startPoint;
            gradientLayer.endPoint    = endPoint;
            gradientLayer.startRadius = startRadius
            gradientLayer.endRadius   = endRadius
            
            CATransaction.setDisableActions(false)
            CATransaction.commit();
            
            gradientLayer.setNeedsDisplay()
        }
    }
    
    func updateGardientLocationsString() {
        
