Sample Code Generation