added a getClassesSubscribed method