working through nested attributes for portfolios