Add recursive call using pointer (crashes)