added error printing to ArtithmeticOp