overhaul syntax and create a Setting object