this code needs to be discussed before the commit as it is not standard and the libraries are breaking a number of code rules. Germain