Thanks for your effort. I have done most of the coding it is jsut the write up that is eluding me.