still doing assignment 7