put the state variables into datatable object