updated formatting in sample.php