added readOnly field
Merge pull request #10 from fehguy/master

added readOnly field