have used this construct in different places where i have cat nested in cat netsted in cat.
So just reused/copy/pasted.