* filled stub functions with solution.