we need to pass the table name