merge doconly from hw2 to hw3