renames and compacting