It's not clear what this line is for. Can you JSDoc this function.