Start to use rec's Sample functions.