added more defaults in addSetting signature