delete digi-related code