added renaming option