submitting assignment2 #39