See my comments for line 73 above