try an environment variables found on stackoverflow