How I should generate SetttingsLogic here? Aka. How should I write this to get it work?