added portfolio and sale classes