added ch6.php