linkedEntries finally working. solution feels unsexy though