functioning data table