checkRS4 updated