starting on setindex, very hacked up for now