Initial prune implmentation