operator[] for params