LoseState.cpp file