add demo on superclass and inheritance