pass list and selection index for list in one pass (using an Association)