Collect functions correctly now. PRAISE THE SUN