Adding a method to get all children id