refactored index.php/info.php