Samples, BSCKE implementation