version ready for review, problems with pathHistory and delete