get toggle to take in feature and environment model