Add subjectFactory