initial function for getting superclass information