score keeping and writing to dom works.