First version of the code samples