changed new wrapper for using a table to a call to the derived trait