config code