Added referencing environment -- in progress