create get and set methods
Merge branch 'demo' of https://github.com/nromanen/Ch-024 into demo