fixing check and set support
Merge pull request #4 from TruffleMuffin/master

fixing #3 - check and set command