So, I did consider that but then thought separating it out into a separate function as it is done in other places would be best but, the code you suggest works just fine for me. Thanks