Delete statemachine.cpp~