made settings more OOP