getindex revamp- starting implemeinting