constructor deep indexing