code documented and samples