modified factory, add map<id,Order>