changed show.php and made some changes in index