add stuff for hw4, test_jsonrpc and grab-page both are infinitly looping