add code_sample model
added code sample