done with table detail