edit for.cpp