use environment as dictionary