set all numeric data in a nest struct to some class