generic method for structures to return child structures