Added function to get child tags