thanks for your help now you have broken it down like that it makes a bit more sense.

You're very welcome -- and I hope it makes enough sense for you to write up a good assignment.

=)