prelim implementation of portfolio