updated the method tracker; refactored index.php