lab1: part1 done.