made settings table and model