menton version applied on Environment.java