functions 3rd  exercise