would be nice to make that a list of DimensionSpec