class inherit info