What is the function of the noun clause in the sentence 'Whoever doesn't have a car will need a ride to the movie theater'?