completed part 2, still having trouble on part 1