Ok, it looks like I'm on the right track at least.
Thanks