Crossword Genius

Untidy heap surrounds trench at graveyard, it's observed (7)

Ross

I believe the answer is:

epitaph

I'm a little stuck... Click here to teach me more about this clue!

'graveyard it's observed' is the definition.
I can't tell whether this definition defines the answer.

'untidy heap surrounds trench' is the wordplay.
'untidy' is an anagram indicator.
'surrounds' means one lot of letters goes inside another.
'trench' becomes 'pit' (trench is a type of pit).
'heap' with letters rearranged gives 'eaph'.
'eaph' going around 'pit' is 'EPITAPH'.

'at' is the link.

Can you help me to learn more?

(Other definitions for epitaph that I've seen before include "Memorial words" , "Commemorative inscription" , "Words carved on a gravestone" , "Words describing a dead person (7)" , "Gravestone inscription" .)

I've seen this clue in The Independent.
Want a hint initially instead of a full solution? Install my app