parent traveral method