Update arifm.cpp