adding chapter12 exercises