propose to rename to setCheckState