added recursion attack