A little header explaining what this function does would help. :)