Working DG. Need to clean up.