added new detail table