added types to indexes