refactoring addSubjects to the service