created proxy method to get subclasses