switched list to table