Modified getChildren to be async