hooks no longer tied to environment