In reply to Valeriy.

Correct, I've updated the code snippet. Sorry about that.