Finished off exercise 11