changes made for lab2 part2 only