added proper properties with get/set. The old properties are now alled fields
new version