setting the environment