The name of this function is... interesting.  It's not clear to me what it's supposed to be doing.