assignment 8 and9