implemented index mapper