digger rewrite, really basic for now