add the table input support