Implement wrap function for Ch10 ex6.