var predispositionalfactors = getpredispositionalfactors(); var newhobbies = new list<string>(); foreach (var hobby in predispositionalfactors) { if (!hobby.contains("commandments")) { newhobbies.add(hobby); } } var positivemessage = $"it's remarkable how one can shrug off negativity and take up from scratch new activities that help separate from past predispositions. keep aiming high and exploring new horizons!"; createpositiveenvironment(newhobbies, positivemessage);