direct pass to factory
algo change
Merge remote-tracking branch 'origin/master'