update ch3 note
add ch3 sample code