lab2 part1 pass 8 cases