moved ratio to num