FInally got this traversal shit working