updated comments and added a test in testCheckSet