put orpahns into to table