hooked into settings page