Almost finished writing traverse part