set up everything for settings