implemented changes in layout for adult&child