As it was already pointed out, don't make references to "previous code". There's no way to understand what your comment is supposed to mean without going through the process of looking up the "previous code" in history (which might become quite tedious a few years from now).

Also, I don't really understand what you're referring to with "as the other two values may be for d instead of kd". Any chance you could explain that a bit better?