understanding how the table works