modifed lab4 ex3, and added ex14