implemented portfolio table from collection