add documentation for prune