working on simpler newindex