My toy program for sampling