added checkbox to the tablemodel