add advnet stuff for assignment 2