Sample code in samples