implemented treename inline renaming