gui and scoring work