need static method decorator on workaround for environment variables.