remove abundant calculation