finished Ch6_Ex2