the accused would have to plead guilty to all of his charges