added encounter.php