got list recursion working