Changed childname to earnername