Hat sales help local nonprofit grouos