fold list sample functions.