some basic functionality to digger