add Sample Code in Ch2