Wrote traversal but need to edit things