improved arithmetic operations