Added selection of samples utility