stacked now works with nested data