use index instead of application for map