takes each element of a list and transform the results in a list