added support for pulling portfolios