Thanks for all your feedback, sadly I know this already I was just being lazy. Ishould have taken the time to create a complete working test example and in doing so I would have found the problem. I completely agree that creating a base case makes it much easier for people to comment on and often allows me to find the solution myself before asking anyone. Thanks again for all the feedback.