add ppt and modified code