Xinyi's Assignment #3 & #4