all code and sample
Revert "all code and sample"

This reverts commit d7fafa1fe7bd5a8e3970e54c9ba4edd47ec01905.