assignment 6 --Lai