consolidate stuff between dpl and cap