moved from lib-dpl