New York and Minnesota are paving the way for a greener future.