parent child use of two table components