Modeling the environment