for effectively lapply, build function