access variable in non-deprecated way
Merge pull request #6 from gerhardsam/master

access variable in non-deprecated way