added initsettings