extracted classes for all operators and removed running sum