new structure for layer index