Update basic.cpp