allow select by index