deleting hole related code