transforming to list