Thought this one might be useful at least for the understanding. After all, understanding how something should work is the first step to repairing it.
I would love to credit the original author but I don't know who they are. If the author is identified they will receive the credit due.
Cheers
noz B)