added another function to return a subjectlist