replacing factories
Update factories
Merge remote-tracking branch 'origin/master'