converting tstring->tstring2
prepare renaming
changing type names
inner reference type