add data and update ch3.R file