Update arrange.cpp