remove useless code and add ppt