Yea - it might be broken, but it's pretty much the same code as this I think