digging code