hw4 part1 Legend 4 update