added code for creating settings table