Update internal.cpp