Develop

implement indexer function