encapsulated; added settings