added the super class, some attributes and methods