refactoring
add handle for digging