finished implementing renaming feature