added rebuild stats TODO