definition of environments and causality