             //NSAssert(values.count == 3, @"Incorrect number of values passed for MLContinous-type animation")
             totalDuration = delay + interval
             // Set up keyTimes
-            animation.keyTimes = [
+            keyTimes = [
                 0.0,                        // Initial location, home
                 delay/totalDuration,        // Initial delay, at home
                 1.0                         // Animation to away

        }
        
        animation.values = values
        animation.keyTimes = keyTimes
        animation.timingFunctions = [timingFunction, timingFunction, timingFunction, timingFunction]
        
        return animation

        }
        
        // Set values
        animation.keyTimes = keyTimes.mapToNumbers()
        animation.values = values
        
        return animation
