Update basemachine.cpp