getindex works totally now