debug code of TaskTableMOdel