extracting tableAdaptor and add portfolio