checking in cdl encoder