The warden promises to take the last six months off of Earl's sentence if he helps him out of one final jam. It ultimately will require him to spend the remainder of his lottery winnings on putting on a prom in the prison.