add ratio for data