Conditional reads and writes
Merge pull request #4 from istvan-soos/master

Conditional reads and writes