Solution to 9 added