code update to realize the functions of part b