now we are using portal_type