commented undoen code