added result UI and score display