added local var sample
sample how to catch, raise and ensure exceptions
sample of accessors and initialization