sample using cell-template