Well, it's not an upgrade, but it explains the way to code it.