renaming ratio to weight