I don't immediately understand the need for this function.  I may discover it as i continue reading, but it could probably use a comment.