formatting
unwrap values and accumulate