process all subjects