Sample code collection