still need to test determine children