I didn't find the article very useful in coding this, but I guess you're right that some kind of reference is needed.