It's hard to derive what this function does from this name. Could you add a doxygen comment or rename it?