traverse return the list of levels