updated the sample