puki #1 You are calling function CurveValue - include that in your post.You are moving the cam in big units (10) - are you meant to be?