adding functionality to settings