I'm not sure to understand the goal of this function.