switch from $? to $CHILD_STATUS