some exercises in chapter3