I was jut thinking of the code sections seperate as it was existing code. Looking at it again that indeed would have been better. I can modify that.