added support for selecting multiple nth values