implement environment variables