ex2+ex3+cleanup