I think the first is better, since we only need a single variable assignment