What exactly does this function do?