revised config code