implemented getSubjects