ex10 completed with extra credit