flesh out math, make translation more idiomatic