init assignment 4
finished part A
update