finished part2 dom manipulation