added structure for creating new indices