add dynamic table controller