got rid of general getindex and setindex