Update ch2.R

undo all the changes, 
testing finished!