remove the env method