adjusting env method