Header is private
code style
Format error
Update samples