move settings method to settings mixin