Finished Exercise A