What does this function do? What does it return?