this logic doesn't seem scalable. What happens if we add another field for the projects? Wouldn't that break this logic?