I do not get what this code is for.  It needs a comment, at least.