Have single recursion related excecption instead of two of them