Added comments
Disabled settingstate