simplify this computation