Could you explain why you need functions here instead of just using the selectors?