back to using .apply