The code block which this is in the middle of is a little tricky and very important.  Could I perhaps convince you to add a few comments as to what's going on?