implementation of di/1 complete and all works