adding in example.php
making debugging better, tidying up posts