added the quit function while you're guessing