settings is now self.settings