[lab2-done] elaborate some code and lab2 is done.