add code sample to page