had to write a paper so I didn't get as much done as I hoped for, but some more functionality in index.php