SOLUTION TO IMPLEMENTS 5

3.Solution to implements 5