more revisions and stuff like pruning added