Simplified the arithmetic operator code