We need to be able to handle vector environment i.e. environments that have multiple copies of an environment