changes done
chapter3 & 4