deprecating older environment model