implements callbacks for settings