hw assignment 4