initial code
added map
updated index to point to bundle