improved dpcR example