design learnsample