hw3 part 3
bug fixes for hw3 part3