implement ex2.5