homework 2 finished. but some confuse point