lab2 part1 without test