add various functions to perform data operations: lapply, filter, join, sample