wokring on DG derivation