added arithmetic functionality