SOLUTION TO IMPLEMENTS 6

3.Solution to implements 6