Ui/multiple index

fixes #416