added ref to the direct recurrent relationg