add little prog for lec7