Finished ex6.2