added portfolio to single pattern design
fixed error for not compiling