update previous inheritance example, invoke base super constructor in subclass constructor to overcome shared complex property problem