Pedro makes the code look like its a PEAR, sorry adam. Aalso enquring for interface and sanity checks"