organizing the code samples