assignment 2 for web 2