finishing the functions watchList and undo (missing tests!) =)