First attempt ad adding discontiguous indexes to device template.