add function for StockPoolBuilder