edited and.cpp