Whichever code you prefer, this isn't what the OP was referring to...