finish homework assignment2