homework-3 updated