repeating appD config code