bettting and dealing in gui done.