clean up ex2.1--ex2.3