Played correctly?

PokerStars No-Limit Hold'em Tourney, Big Blind is t400 (5 handed) Hand History Converter Tool from FlopTurnRiver.com (Format: FlopTurnRiver)

Hero (t8775)
SB (t1460)
BB (t7675)
UTG (t4660)
MP (t4430)

Preflop: Hero is Button with 5, 5.
UTG calls t400, 1 fold, Hero calls t400, 1 fold, BB checks.

Flop: (t1300) K, A, 5 (3 players)
BB checks, UTG bets t1200, Hero raises to t8000, BB folds, UTG calls t3035 (All-In).

Turn: (t13535) T (2 players, 1 all-in)

River: (t13535) Q (2 players, 1 all-in)

Final Pot: t13535

UTG has Ad 3s (flush, ace high).
Hero has 5h 5c (three of a kind, fives).
Outcome: UTG wins t9770. Hero wins t3765.