notes on subsetting