         CGContextFillRect(context, rect)
         
         //Define the gradient ----------------------
-        let locations_num:size_t = 2;
-        
         let locations:[CGFloat] = [0.0, 1.0];
         
-        let components:[CGFloat] = [0, 0, 0, 0,  0,0,0,0]
-        
+        let components:[CGFloat] = [
+            c1.memory, (c1+1).memory,(c1+2).memory,(c1+3).memory,
+            c2.memory, (c2+1).memory,(c2+2).memory,(c2+3).memory ]
+
         let colorSpace = CGColorSpaceCreateDeviceRGB();
         
-        let gradient = CGGradientCreateWithColorComponents (colorSpace, components,
-            locations, locations_num);
+        let gradient = CGGradientCreateWithColorComponents (colorSpace, components, locations, UInt(locations.count));
         
         //Define Gradient Positions ---------------
         

        propertyDidChange("playerName")
        propertyDidChange("lifeTotal")
        propertyDidChange("isUpsideDown")
    }
    
    func setConstraintsFor(orientation:UIInterfaceOrientation) {

        default:
            break
        }
        
        self.setNeedsDisplay()
    }
    
